Socket
Socket
Sign inDemoInstall

@kano/kbc-base-styles

Package Overview
Dependencies
Maintainers
13
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kano/kbc-base-styles

Kano base styles and sass functions and mixins


Version published
Weekly downloads
9
decreased by-66.67%
Maintainers
13
Weekly downloads
 
Created
Source

kbc-base-styles

Kano base Scss styles, including a CSS reset and initial element styles. Also includes useful scss functions and mixins for creating projects.

Usage

Sass

In Scss, import the base stylesheet at the top of your project:

@import '~@kano/kbc-base-styles/main.scss';

To import the Scss tools - variables, functions and mixins:

@import '~@kano/kbc-base-styles/src/tools.scss';

Overwriting default variables

Colour and typography variables made available from kbc-base (initially from kbc-tokens) are possible to be overwritten by the local application. To do this in your application, create local variables with the same variable name before importing tools or the base styles:

// App variables
@import 'variables';
// kbc-base
@import '~@kano/kbc-base-styles/main.scss';

or:

// App variables
@import 'variables';
// kbc-base tools
@import '~@kano/kbc-base-styles/lib/tools.scss';

FAQs

Package last updated on 22 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc